<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon">
<title>尚品汇后台管理系统-添加商品</title>
</head>
<body>

<nav class="navbar navbar-default navbar-inverse">
    <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">尚品汇后台管理系统</a>
        </div>
    
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
            <li class="active"><a href="#">Link <span class="sr-only">(current)</span></a></li>
            <li><a href="#">Link</a></li>
            <li class="dropdown">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
            <ul class="dropdown-menu">
                <li><a href="#">Action</a></li>
                <li><a href="#">Another action</a></li>
                <li><a href="#">Something else here</a></li>
                <li role="separator" class="divider"></li>
                <li><a href="#">Separated link</a></li>
                <li role="separator" class="divider"></li>
                <li><a href="#">One more separated link</a></li>
            </ul>
            </li>
        </ul>
        <form class="navbar-form navbar-left">
            <div class="form-group">
            <input type="text" class="form-control" placeholder="Search">
            </div>
            <button type="submit" class="btn btn-default">Submit</button>
        </form>
        <ul class="nav navbar-nav navbar-right">
            <!-- <li><a href="./login.html">登录</a></li> -->
            <!-- <li><a href="./register.html">注册</a></li> -->
            <li class="dropdown" id="userinfo">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i class="username">username</i> <span class="caret"></span></a>
            <ul class="dropdown-menu" id="infomenu">
                <li><a href="#">个人中心</a></li>
                <li><a href="#">修改密码</a></li>
                <li><a href="#">个人设置</a></li>
                <li class="logout"><a href="#">退出登录</a></li>
            </ul>
            </li>
        </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<div class="container-fluid">
    <div class="row">
        <!-- 左边导航菜单 -->
        <div class="col-md-2">
            <ul class="nav nav-pills nav-stacked">
                <li role="presentation" class="active"><a href="#">商品管理</a></li>
                <li role="presentation"><a href="./list.html">商品列表</a></li>
                <li role="presentation"><a href="./add.html">添加商品</a></li>
            </ul>
            <ul class="nav nav-pills nav-stacked">
                <li role="presentation" class="active"><a href="#">用户管理</a></li>
                <li role="presentation"><a href="#">用户列表</a></li>
                <li role="presentation"><a href="#">添加用户</a></li>
            </ul>
        </div>
        <!-- 右边内容 -->
        <div class="col-md-10">
            <!-- 路径导航 -->
            <ol class="breadcrumb">
                <li><a href="./index.html">首页</a></li>
                <li><a href="#">商品管理</a></li>
                <li class="active">添加商品</li>
            </ol>
            <!-- 内容: 表单 -->
            <div class="form-horizontal">
                <div class="form-group">
                  <label for="name" class="col-md-1 control-label">商品名称</label>
                  <div class="col-md-11">
                    <input type="email" class="form-control" id="name" placeholder="请输入商品名称...">
                  </div>
                </div>
                <div class="form-group">
                    <label for="price" class="col-md-1 control-label">商品价格</label>
                    <div class="col-md-11">
                      <input type="email" class="form-control" id="price" placeholder="请输入商品价格...">
                    </div>
                </div>
                <div class="form-group">
                    <label for="desc" class="col-md-1 control-label">商品描述</label>
                    <div class="col-md-11">
                      <input type="email" class="form-control" id="desc" placeholder="请输入商品描述...">
                    </div>
                </div>
                <div class="form-group">
                    <label for="desc" class="col-md-1 control-label">商品类型</label>
                    <div class="col-md-11">
                      <select id="type" class="form-control">
                        <option value="">请选中商品类型</option>
                        <option value="衣服">衣服</option>
                        <option value="鞋子">鞋子</option>
                        <option value="帽子">帽子</option>
                      </select>
                    </div>
                </div>
                <div class="form-group">
                    <label for="upload" class="col-md-1 control-label">上传图片</label>
                    <div class="col-md-11">
                        <form class="form-inline">
                            <input type="file" name="upfile" class="form-control" id="file">
                            <button class="btn btn-primary">上传</button>
                        </form>
                    </div>
                </div>
                <div class="form-group">
                    <label for="imgurl" class="col-md-1 control-label">商品图片</label>
                    <div class="col-md-11">
                      <input type="text" readonly class="form-control" id="imgurl" placeholder="请先上传图片...">
                    </div>
                </div>

                <div class="box text-right">
                    <button class="btn btn-success">添加商品</button>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
</html>